Session Summary: Object Orientation and Exception Handling for Ada

نویسندگان

  • Thomas Wolf
  • Tullio Vardanega
چکیده

The session started with a consensus view from the group about the powerful contribution potential that exceptions can offer to the construction of reliable systems. Ada has rightly deserved the reputation of being prime language support for the development of systems with reliability characteristics. One would therefore expect that the language should take special care to address the needs of the reliable system community. Yet, the group noted, the design of the language enhancements added to Ada 95 held a narrow view of exceptions, which were seemingly regarded as simple-minded aid for rudimentary program debugging. The few, timid enhancements made to exceptions in the language indeed had the merit of clarifying the notions of exception identity and exception occurrence. Nonetheless, the language revision apparently privileged the view of exceptions as a low-cost mechanism for fairly high-level error logging. As a regrettable result, exceptions are still not integrated with the typing model of the language. A rapid scrutiny of the workshop submissions allowed the group to gather consensus on three major limitations with the current model of exceptions:

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Except for Exception Handling ...

Exception handling in Ada has a number of well-known problems. It allows for the propagation of unhandled and anonymous exceptions, it is error-prone and it is inappropriate for some language features including tasking and tagged types. Ada programs with exceptions are difficult to understand, develop, modify or analyse, and the exception handling features can be misused in a number of ways. In...

متن کامل

Coordinated Exception Handling in Distributed Object Systems: From Model to System Implementation

Exception handling in distributed and concurrent programs is a difficult task though it is often necessary. In many cases traditional mechanisms for sequential programs are no longer appropriate. One major difficulty is that the process of handling an exception may need to involve multiple concurrent components when they are cooperating to solve a global problem. Another complication is that se...

متن کامل

Extending conventional languages by distributed/concurrent exception resolution

The state of art in handling and resolving concurrent exceptions is discussed and a brief outline of all research in this area is given. Our intention is to demonstrate that exception resolution is a very useful concept which facilitates joint forward error recovery in concurrent and distributed systems. To do this, several new arguments are considered. We understand resolution as reaching an a...

متن کامل

An Exception Handling Framework for N-Version Programming in Object-Oriented Systems

Structuring complex systems out of components with both normal and exceptional outcomes and using exception handling for dealing with abnormal events are well-accepted practices. This paper proposes an approach for introducing exception handling into object oriented N-version programming (NVP). We start with outlining general principles of structuring systems with diversity and show why it is i...

متن کامل

Worst-case timing analysis of exception handling in Ada

This paper describes a method for analysing the timing properties of exception handling in Ada. The paper first describes how exceptions are implemented and considers the use of exceptions in the SPARK, Safe/Ada and ANNA subsets. A static analysis technique for reasoning about exception propagation is then presented. We argue that this technique, along with a suitable subset and detailed knowle...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001